<?php
@$xxid=$_REQUEST['xxid'];
if(!empty($xxid)){
    $pdo=new PDO('mysql:dbname=shuju;charset=utf8','root');
    $use=$pdo->prepare('delete from ctmXiaoxi where id=:id');
    $ok=$use->execute(array('id'=>$xxid));
    if($ok){
        header("Location:Cmain.php");
    }
}
@$scRcid=$_REQUEST['scRcid'];
if(!empty($scRcid)){
    $pdo=new PDO('mysql:dbname=shuju;charset=utf8','root');
    $use=$pdo->prepare('delete from ctmYewuRec where id=:id');
    $ok=$use->execute(array('id'=>$scRcid));
    if($ok){
        header("Location:Cmain.php");
    }
}

?>